package BinaryTree;

import java.util.ArrayList;

/**
 * The type TreeNode.
 * 二叉树定义
 */
public  class TreeNode {
    public int val;
    public TreeNode left;
    public TreeNode right;

    TreeNode(int val) { this.val = val; }
    TreeNode(int val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }

}
